import fs from "fs";
import path from "path";


fs.promises.mkdir(path.resolve("src/0020_文件/data1.txt"),{ recursive: true })
    .then(() => {
        console.log('创建成功');
    }).catch((err) => {
        console.log(err);
        console.log('创建失败');
    })
